import use_case.handlereturns.DVD;
import use_case.handlereturns.Scanner;
import junit.framework.TestCase;


public class ScannerTest extends TestCase {
	private Scanner scan;
	private DVD d1;
	
	protected void setUp(){
		scan = new Scanner();
		d1 = new DVD("Legend", "Action", 53124);
	}
	
	protected void tearDown(){
		scan = null;
		d1 = null;
	}
	
	public void testCheckID(){
		setUp();
		assertTrue(scan.checkID(d1));
		tearDown();
	}
}
